home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wics.zip / IDLG.H < prev    next >
C/C++ Source or Header  |  1993-02-17  |  2KB  |  56 lines

  1. //==============================================================================================
  2. //
  3. //    Windows Interface Construction Set
  4. //    Version 1.00
  5. //
  6. //    IDLG.H - Windows Indirect Dialog Class
  7. //
  8. //    Copyright ⌐ 1993 by Microdyne Development Technologies
  9. //    All rights reserved.
  10. //
  11. //==============================================================================================
  12.  
  13. #ifndef _IDLG.H
  14. #define _IDLG.H
  15.  
  16. #include <owl.h>
  17. #include <dlgtmplt.h>
  18.  
  19. /*------------------------------------------------------------------------------------------*/
  20. /*    Class TIndirectDialog                                                                    */
  21. /*------------------------------------------------------------------------------------------*/
  22. /*                                                                                          */
  23. /*    Abstract:                                                                               */
  24. /*                                                                                          */
  25. /*    The TIndirectDialog class defines an indirect dialog object. The dialog template is     */
  26. /*    built in memory utilizing the TDialogTemplate object and then passed to this class        */
  27. /*    creates the dialog based upon this template.                                            */
  28. /*                                                                                          */
  29. /*------------------------------------------------------------------------------------------*/
  30.  
  31. #define ID_TITLE    101
  32. #define ID_DEVICE    102
  33. #define ID_PORT        103
  34.  
  35. _CLASSDEF(TIndirectDialog)
  36.  
  37. class TIndirectDialog: public TDialog
  38. {
  39. private:
  40.     PTDialogTemplate    ADialogTemplate;
  41.     HGLOBAL                hDialogTemplate;
  42.     LPDIALOGBOXHEADER    lpDialog;
  43.  
  44. protected:
  45.  
  46. public:
  47.     TIndirectDialog(PTWindowsObject AParent, PTDialogTemplate ADialogTemplate);
  48.     ~TIndirectDialog();
  49.  
  50.     virtual BOOL Create();
  51.     virtual int  Execute();
  52. };
  53.  
  54. #endif
  55.  
  56.